<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table border="1">
    <tr>
        <td>编号</td>
        <td>用户名</td>
        <td>密码</td>
        <td>年龄</td>
        <td>成绩</td>
    </tr>
    <tr>
    <tr th:each="user : ${users}">
        <td th:text="${user.userId}">1</td>
        <td th:text="${user.username}">2</td>
        <td th:text="${user.password}">2</td>
        <td th:text="${user.age}">2</td>
        <td th:text="${user.score}">2</td>
    </tr>
</table>
</body>
</html>